﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
    public class PaymentComponent
    {
        private static PaymentsDAC db = new PaymentsDAC();

        public static List<Payment> Payments_GetByTop(string Top, string Where, string Ord)
        {
            return db.Payments_GetByTop(Top, Where, Ord);
        }

        public static void Payments_Insert(Payment payment)
        {
            db.Payments_Insert(payment);
        }

        public static void Payments_Update(Payment payment)
        {
            db.Payments_Update(payment);
        }
    }
}
